/**
 * 主从表的操作窗口
 */
package cn.antia.cwin.window;

import java.util.HashMap;

/**
 * @author sunkeei
 * @date Dec 27, 2007
 * @time 9:07:35 PM
 */
public class MultiWindow implements java.lang.Cloneable{
	private String id;					//id
	private String type = "onemany";	//类型
	private String layout;				//布局
	private String primary;		//主窗口
	private HashMap relations;				//List<Relation>
	private String secondary;		//从窗口
	private String primaryWas;		//primary 主表操作类
	private String secondaryWas;	//secondary 从表操作类
	private String desc;			//窗口描述
	
	public String getPrimary() {
		return primary;
	}
	public void setPrimary(String primary) {
		this.primary = primary;
	}
	public HashMap getRelations() {
		return relations;
	}
	public void setRelations(HashMap relations) {
		this.relations = relations;
	}
	public String getSecondary() {
		return secondary;
	}
	public void setSecondary(String secondary) {
		this.secondary = secondary;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getLayout() {
		return layout;
	}
	public void setLayout(String layout) {
		this.layout = layout;
	}
	public String getPrimaryWas() {
		return primaryWas;
	}
	public void setPrimaryWas(String primaryWas) {
		this.primaryWas = primaryWas;
	}
	public String getSecondaryWas() {
		return secondaryWas;
	}
	public void setSecondaryWas(String secondaryWas) {
		this.secondaryWas = secondaryWas;
	}
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
